<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

    <div id="app">

        <!--router-link来指定跳转的路径-->
        <span><router-link to="/login">登录按钮</router-link></span>
        <span><router-link to="/register">注册按钮</router-link></span>

        <router-view></router-view> <!--电视机-->

    </div>


</body>
</html>